Skip to content

feat(builtins): add join and split commands#584

Merged
chaliy merged 2 commits intomainfrom
claude/process-issues-systematically-AEJJh
Mar 14, 2026
Merged

feat(builtins): add join and split commands#584
chaliy merged 2 commits intomainfrom
claude/process-issues-systematically-AEJJh

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Mar 14, 2026

Summary

  • join: Join lines of two sorted files on common field (-1, -2, -t, -a, -e)
  • split: Split files into pieces by lines (-l), bytes (-b), or chunks (-n), with -d for numeric suffixes

Test plan

  • 5 join tests: basic, custom field, custom separator, missing operand, unpairable lines
  • 8 split tests: by lines, numeric suffix, by chunks, custom prefix, missing file, zero chunks, suffix generation
  • clippy clean, 1653 tests pass

Closes #547, Closes #543

chaliy added 2 commits March 14, 2026 05:22
- join: join lines of two sorted files on a common field with -1/-2/-t/-a/-e options (Closes #547)
- split: split files into pieces by lines (-l), bytes (-b), or chunks (-n) with numeric suffixes (-d) (Closes #543)

Includes 13 unit tests covering positive and negative paths.
@chaliy chaliy merged commit ce2ab0e into main Mar 14, 2026
23 checks passed
@chaliy chaliy deleted the claude/process-issues-systematically-AEJJh branch March 14, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(builtins): add join command feat(builtins): add split command

1 participant